<div class="cil-table-block">
  <st
    #st
    [scroll]="scroll"
    [data]="data"
    [columns]="columns"
    [widthMode]="widthMode"
    [ps]="ps"
    [pi]="pi"
    [page]="stPage"
    [total]="total"
    [loading]="loading"
    (change)="onChange($event)">
    <ng-template st-row="cdKey" let-item let-index="index" let-column="column">
      <span nz-popover [nzContent]="contentTemplate" nzPlacement="right">{{item.common.cdKey}}</span>
      <ng-template #contentTemplate>
        <qrcode
          [qrdata]="item.common.cdKey"
          [size]="200" [level]="'M'">
        </qrcode>
      </ng-template>
    </ng-template>
    <ng-template st-row="status" let-item>
      <span>{{ statusTextMap[item.common.status] | i18n }}</span>
    </ng-template>
  </st>
  <!--
  <div [ngClass]="(data && data.length === 0) ? 'cil-custom-btns-empty-data' : 'cil-custom-btns'">
    <button
      [hidden]="loading"
      class="cil__custom-btn__whiteblue"
      nz-button
      nzType="primary"
      nzShape="round"
      nzSize="default"
      (click)="goAddTerminal()">
      新增终端
    </button>
  </div>
  -->
</div>
<div class="cil__scroll-div"></div>